<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:c="http://java.sun.com/jsp/jstl/core">
    <h:head>
    </h:head>
    <h:body>
        <ui:composition template="/Shared/_layout.xhtml">
            <ui:define name="content">
                <div class="chanels">
                    <h4>Chanels</h4>
                    <ul>
                        <c:forEach var="chanel" items="#{dBContext.rssLinks}">
                            <li>#{chanel.title}</li>
                        </c:forEach>
                    </ul>
                </div>
                <div class="itemdiv" id="itemdiv">
                    <h4>Items</h4>
                    <ul>
                        <c:forEach var="item" items="#{dBContext.items}">
                            <li>                                    
                                <h:outputText value="#{item.descriptionRemoveLink}" escape="false"/>
                                <h:commandLink action="#{dBContext.setShowPage(item)}" styleClass="morelink">More</h:commandLink>
                            </li>
                        </c:forEach>
                    </ul>
                </div>
            </ui:define>
        </ui:composition>
    </h:body>
</html>

